package com.example.demo.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix = "student")
@Data
public class Student {
    private String stdId;
    private String stdName;
    private String[] hobby;

}
